﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;

namespace VueEleAdminFurion.Model
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("Permissions")]
    public class Permissions
    {
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Id", IsPrimaryKey = true)]
        public Guid Id { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "PermissionsCode")]
        public string PermissionsCode { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "PermissionsName")]
        public string PermissionsName { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Description")]
        public string Description { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "ParentId")]
        public Guid? ParentId { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "TimeStamp")]
        public byte[] TimeStamp { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CreateUserId")]
        public Guid CreateUserId { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "CreateTime")]
        public string CreateTime { get; set; }
        /// <summary>
        ///  
        /// 默认值: ((0))
        ///</summary>
        [SugarColumn(ColumnName = "Sort")]
        public int Sort { get; set; }
        /// <summary>
        ///  
        /// 默认值: (N'')
        ///</summary>
        [SugarColumn(ColumnName = "Component")]
        public string Component { get; set; }
        /// <summary>
        ///  
        /// 默认值: (N'')
        ///</summary>
        [SugarColumn(ColumnName = "Icon")]
        public string Icon { get; set; }
        /// <summary>
        ///  
        /// 默认值: (CONVERT([bit],(1)))
        ///</summary>
        [SugarColumn(ColumnName = "AlwaysShow")]
        public bool AlwaysShow { get; set; }
    }
}
